﻿@model JuniorProject.Models.UserProfile
<h3>Update Profile</h3>

@using (Html.BeginForm("UpdateProfile", "Account"))
{
    @Html.AntiForgeryToken()
    @Html.ValidationSummary()

    <fieldset>
        <legend>Update Profile Form</legend>
        <ol>
            <li>
                @Html.LabelFor(m => m.Email)
                @Html.EditorFor(m => m.Email)
            </li>
            <li>
                @Html.LabelFor(m => m.ConfirmEmail)
                @Html.EditorFor(m => m.ConfirmEmail)
            </li>
            <li>
                @Html.LabelFor(m => m.FirstName)
                @Html.EditorFor(m => m.FirstName)
            </li>
            <li>
                @Html.LabelFor(m => m.MiddleName)
                @Html.EditorFor(m => m.MiddleName)
            </li>
            <li>
                @Html.LabelFor(m => m.LastName)
                @Html.EditorFor(m => m.LastName)
            </li>
        </ol>
        <input type="submit" value="Update Profile" />
    </fieldset>
}